package com.cpj.base.model;



import com.fasterxml.jackson.databind.annotation.JsonSerialize;

import java.util.Date;

@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class Shop implements java.io.Serializable {
	
	private static final long serialVersionUID = 3263613689153881418L;
	
	public interface Status{
		int WAIT_OPEN = 1;
		int OPEN_SUCCESS = 2;
		int OFFLINE = 3;
		
		int ONLINE = 12;//对应状态1,2。可对用户展示
	}
	
	public interface Type{
		int SHOP = 1;
		int SITE = 2;
	}
	
	private Integer shopId;
//	private Integer employeeId;
	private Integer status;
	private Integer type;
	private Integer sn;
	private String shopName;
	private String shopCode;
	private String channelCode;
	private String mobile;
	private String email;
	private String area;
	private String address;
	private String addressAbbr;
	private String passportImg;
	private String addressImg;
	private String bannerImg;
	private String headImg;
	private String shopHours;
	private String distance;
	private Date openDate;
	private String shopkeeperName;
	private String shopkeeperMobile;
	private String longitude;
	private String latitude;
	private Date addTime;
	private Date updateTime;
	

	public Integer getShopId() {
		return shopId;
	}
	public void setShopId(Integer shopId) {
		this.shopId = shopId;
	}
//	public Integer getEmployeeId() {
//		return employeeId;
//	}
//	public void setEmployeeId(Integer employeeId) {
//		this.employeeId = employeeId;
//	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getPassportImg() {
		return passportImg;
	}
	public void setPassportImg(String passportImg) {
		this.passportImg = passportImg;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getSn() {
		return sn;
	}
	public void setSn(Integer sn) {
		this.sn = sn;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public String getShopCode() {
		return shopCode;
	}
	public void setShopCode(String shopCode) {
		this.shopCode = shopCode;
	}
	public String getChannelCode() {
		return channelCode;
	}
	public void setChannelCode(String channelCode) {
		this.channelCode = channelCode;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getAddressAbbr() {
		return addressAbbr;
	}
	public void setAddressAbbr(String addressAbbr) {
		this.addressAbbr = addressAbbr;
	}
	public String getAddressImg() {
		return addressImg;
	}
	public void setAddressImg(String addressImg) {
		this.addressImg = addressImg;
	}
	public String getBannerImg() {
		return bannerImg;
	}
	public void setBannerImg(String bannerImg) {
		this.bannerImg = bannerImg;
	}
	public String getHeadImg() {
		return headImg;
	}
	public void setHeadImg(String headImg) {
		this.headImg = headImg;
	}
	public Date getOpenDate() {
		Date ret = null;
		if(status != null  && status==1){
			ret = openDate;
		}
		return ret;
	}
	public String getShopHours() {
		return shopHours;
	}
	public void setShopHours(String shopHours) {
		this.shopHours = shopHours;
	}
	public String getDistance() {
		return distance;
	}
	public void setDistance(String distance) {
		this.distance = distance;
	}
	public void setOpenDate(Date openDate) {
		this.openDate = openDate;
	}
	public String getShopkeeperName() {
		return shopkeeperName;
	}
	public void setShopkeeperName(String shopkeeperName) {
		this.shopkeeperName = shopkeeperName;
	}
	public String getShopkeeperMobile() {
		return shopkeeperMobile;
	}
	public void setShopkeeperMobile(String shopkeeperMobile) {
		this.shopkeeperMobile = shopkeeperMobile;
	}
	public Date getAddTime() {
		return addTime;
	}
	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getLongitude() {
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}
	public String getLatitude() {
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}
}